package org.ham007.proxysender.server.twitter.entity;

import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable(identityType = IdentityType.APPLICATION, detachable="true")
public class LastMessageInfo {
	
	@PrimaryKey
	@Persistent
	private String key;
	
	@Persistent
	private int message_id;
	
	public String getKey()
	{
		return key;
	}
	
	public int getMessageId()
	{
		return message_id;
	}
	
	public void setMessageId(int msg_id)
	{
		message_id = msg_id;
	}
	
	public LastMessageInfo(String key, int message_id)
	{
		this.key = key;
		this.message_id = message_id;
	}
}
